[INFO] cloning repository https://github.com/mcalawa/jikan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcalawa/jikan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e6ec3fccdc83446de3990099c83bf5b291fe73c
[INFO] checking mcalawa/jikan/3e6ec3fccdc83446de3990099c83bf5b291fe73c against master#f28ac764c36004fa6a6e098d15b4016a838c13c6 for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcalawa%2Fjikan" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mcalawa/jikan
[INFO] finished tweaking git repo https://github.com/mcalawa/jikan
[INFO] tweaked toml for git repo https://github.com/mcalawa/jikan written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mcalawa/jikan on toolchain f28ac764c36004fa6a6e098d15b4016a838c13c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mcalawa/jikan already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `jikan` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy_static v1.0.2
[INFO] [stderr]   Downloaded time v0.1.40
[INFO] [stderr]   Downloaded chrono v0.4.4
[INFO] [stderr]   Downloaded num-traits v0.2.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a
[INFO] running `Command { std: "docker" "start" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `jikan` (manifest) generated 1 warning
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking lazy_static v1.0.2
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]     Checking chrono v0.4.4
[INFO] [stderr]     Checking jikan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]  --> src/jpn/era.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         '\u{4e00}'...'\u{9faf}' |
[INFO] [stdout]   |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/jpn/era.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         '\u{3400}'...'\u{4dbf}' => true,
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/jpn/period.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | / lazy_static! {
[INFO] [stdout]  11 | |     static ref PERIODS: HashMap<&'static str, Period> = {
[INFO] [stdout]  12 | |         let mut m = HashMap::new();
[INFO] [stdout]  13 | |         m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "As...
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |     };
[INFO] [stdout] 165 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]  --> src/jpn/era.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         '\u{4e00}'...'\u{9faf}' |
[INFO] [stdout]   |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/jpn/era.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         '\u{3400}'...'\u{4dbf}' => true,
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]     --> src/jpn/era.rs:15:1
[INFO] [stdout]      |
[INFO] [stdout]   15 | / lazy_static! {
[INFO] [stdout]   16 | |     static ref LUNAR_NEW_YEAR: HashMap<u32, NaiveDate> = {
[INFO] [stdout]   17 | |         let mut m = HashMap::new();
[INFO] [stdout]   18 | |         m.insert(645, NaiveDate::from_ymd(645, 2, 5));
[INFO] [stdout] ...    |
[INFO] [stdout] 1721 | |     };
[INFO] [stdout] 1722 | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/jpn/period.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | / lazy_static! {
[INFO] [stdout]  11 | |     static ref PERIODS: HashMap<&'static str, Period> = {
[INFO] [stdout]  12 | |         let mut m = HashMap::new();
[INFO] [stdout]  13 | |         m.insert("asuka", Period::new("Asuka jidai", "飛鳥時代", "あすかじだい", "Asuka jidai", "Asuka zidai", "Asuka zidai", "As...
[INFO] [stdout] ...   |
[INFO] [stdout] 164 | |     };
[INFO] [stdout] 165 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/jpn/era.rs:2053:17
[INFO] [stdout]      |
[INFO] [stdout] 2053 |             let mut y1 = y + i;
[INFO] [stdout]      |                 ----^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/jpn/period.rs:212:71
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let period = PERIODS.get(formatted_name.as_str()).unwrap().clone();
[INFO] [stdout]     |                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Period` does not implement `Clone`, so calling `clone` on `&Period` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 212 -             let period = PERIODS.get(formatted_name.as_str()).unwrap().clone();
[INFO] [stdout] 212 +             let period = PERIODS.get(formatted_name.as_str()).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Period`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 168 + #[derive(Clone)]
[INFO] [stdout] 169 | pub struct Period {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/jpn/era.rs:2053:17
[INFO] [stdout]      |
[INFO] [stdout] 2053 |             let mut y1 = y + i;
[INFO] [stdout]      |                 ----^^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/jpn/period.rs:212:71
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let period = PERIODS.get(formatted_name.as_str()).unwrap().clone();
[INFO] [stdout]     |                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Period` does not implement `Clone`, so calling `clone` on `&Period` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 212 -             let period = PERIODS.get(formatted_name.as_str()).unwrap().clone();
[INFO] [stdout] 212 +             let period = PERIODS.get(formatted_name.as_str()).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Period`, implement `Clone` for it
[INFO] [stdout]     |
[INFO] [stdout] 168 + #[derive(Clone)]
[INFO] [stdout] 169 | pub struct Period {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.89s
[INFO] running `Command { std: "docker" "inspect" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a", kill_on_drop: false }`
[INFO] [stdout] efd34c5130df964f6b6a88493ae1c4de473e5a81e1f7c533c03f917c8afb308a
